import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/global.scss'
// 引入ElementUI
import '@/ElementUI/index'
// 引入时间格式包
import day from 'dayjs'
// 将其挂载至全局用
Vue.prototype.$formatDate = (obj) => {
  return day(obj).format('YYYY-MM-DD HH:mm:ss')
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
